#include "VertexList.hpp"
#include <cstring>
#include <iostream>

VertexList::VertexList(float* vlist, float* nlist, int size)
{
	vertices = new float[size];
	normals = new float[size];
	/*
	for(int i = 0; i < size; i ++)
	{
        vertices[i] = vlist[i];
        normals[i] = nlist[i];
	}
	//*/
    memcpy(vertices, vlist, size * sizeof(float));
	memcpy(normals, nlist, size * sizeof(float));
	nrOfVertices = size / 3;

}

